﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Support.ascx.cs" Inherits="KimSoft.UI.Controls.Support" %>
<style type="text/css">
    .style1
    {
        color: #FF0000;
        font-size: medium;
    }
    .style2
    {
        color: #FF0000;
        font-size: large;
    }
</style>
<table width="196px" >
    <tr>
        <td style="width:50px;">
            <asp:Image runat="server" ID="imgSupport" ImageUrl="~/Images/PhoneSupport.jpg" Height="50px" />            
        </td>
        <td>
            <b><span class="style1">Hotline : </span> <br class="style1" />
            <span class="style2">08.62722797</span></b>
        </td>
    </tr>
    <tr>
        <td colspan="2"> 
    <asp:GridView ID="gvwSupports" runat="server" AutoGenerateColumns="False" SkinID="Grid"
               DataKeyNames="ID" DataSourceID="objSupports" ShowHeader="False"  Width="100%">
               <Columns>
                  <asp:TemplateField HeaderText="">
                     <HeaderStyle HorizontalAlign="Left" />                 
                     <ItemStyle HorizontalAlign="Center" />
                     <ItemTemplate>
                           <table width="100%" >
                                <tr>
                                    <td style="width:33%; padding-top:5px;" >
                                        <asp:Label runat="server" ID="lblTitle" Text='<%# Eval("Title") %>' />
                                    </td>
                                    <td style="width:33%; padding-top:5px;" >
                                         <asp:HyperLink ID="hplYM" NavigateUrl='<%# "ymsgr:sendIM?" + Eval("Yahoo") %>' runat="server" Visible='<%# Eval("ShowYahoo") %>' > 
                                                <asp:Image ID="imgYM" ImageUrl='<%# "http://opi.yahoo.com/online?u=" + Eval("Yahoo") + "&amp;m=g&amp;t=1" %>'  runat="server" />                                                                                                   
                                            </asp:HyperLink>      
                                    </td>
                                    <td style="width:33%;" >
                                         <script type="text/javascript" src="http://download.skype.com/share/skypebuttons/js/skypeCheck.js"></script>                                     
                                        <asp:HyperLink ID="hplSkype" NavigateUrl='<%# "skype:" + Eval("Skype") + "?call" %>' runat="server" Visible='<%# Eval("ShowSkype") %>'  > 
                                            <asp:Image ID="imgSkype" ImageUrl="http://download.skype.com/share/skypebuttons/buttons/call_blue_transparent_70x23.png" style="border: none;" width="70" height="23" alt="Skype Me™!" runat="server" />                                                                                                   
                                        </asp:HyperLink> 
                                    </td>                                
                                </tr>
                           </table>
                     </ItemTemplate>         
                  </asp:TemplateField>
               </Columns>   
     </asp:GridView>
    <asp:ObjectDataSource ID="objSupports" runat="server" SelectMethod="ListSupportVisible" 
                TypeName="BLL.Faq.Support" >
            </asp:ObjectDataSource>
        </td>
    </tr>
</table>